package com.peng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.peng.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author dell
* @description 针对表【dict(组织架构表)】的数据库操作Service
* @createDate 2022-06-03 20:35:23
*/
public interface DictService extends IService<Dict> {

    List<Dict> findChildData(Long id);

    //数据导出
    void exportData(HttpServletResponse response);

    void importData(MultipartFile file);

    String getNameByParentDictCodeAndValue(String dictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
